<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<!-- 添加视口: 屏幕的宽度=设备的宽度 
			initial-scale=1.0  初始化缩放比例
		-->
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<title>视口</title>
		<style>
			* {
				margin: 0;
				padding: 0;
			}
			.box {
				width: 16.66667vw;
				height: 9.375vh;
				background-color: pink;
			}
		</style>
	</head>
	<body>
		<div class="box"></div>
	</body>
</html>